Tables [dbo].[Trans_SoftCredit]
Properties
PropertyValue
Created3:13:33 PM Friday, January 07, 2011
Last Modified11:40:10 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_Trans_SoftCredit: TRANS_NUMBER\SOFT_CREDIT_ID\ORIGINATING_ACTIVITY_SEQNTRANS_NUMBERint4
No
((0))
Cluster Primary Key PK_Trans_SoftCredit: TRANS_NUMBER\SOFT_CREDIT_ID\ORIGINATING_ACTIVITY_SEQNIndexes iTrans_SoftCreditSOFT_CREDIT_I: SOFT_CREDIT_IDSOFT_CREDIT_IDvarchar(10)10
No
('')
PERCENTAGEnumeric(15,2)9
No
((0))
AMOUNTmoney8
No
((0))
Cluster Primary Key PK_Trans_SoftCredit: TRANS_NUMBER\SOFT_CREDIT_ID\ORIGINATING_ACTIVITY_SEQNIndexes iTrans_SoftCreditACTIVITY_SEQN: ORIGINATING_ACTIVITY_SEQNORIGINATING_ACTIVITY_SEQNint4
No
((0))
FUNDRAISER_TYPEvarchar(20)20
No
('')
Indexes iTrans_SoftCreditPRODUCT_CODE: PRODUCT_CODEPRODUCT_CODEvarchar(31)31
No
('')
TIME_STAMPtimestamp8
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_Trans_SoftCredit: TRANS_NUMBER\SOFT_CREDIT_ID\ORIGINATING_ACTIVITY_SEQNPK_Trans_SoftCreditTRANS_NUMBER, SOFT_CREDIT_ID, ORIGINATING_ACTIVITY_SEQN
Yes
iTrans_SoftCreditACTIVITY_SEQNORIGINATING_ACTIVITY_SEQN
iTrans_SoftCreditPRODUCT_CODEPRODUCT_CODE
iTrans_SoftCreditSOFT_CREDIT_ISOFT_CREDIT_ID
Permissions
TypeActionOwning Principal
GrantDeleteIMIS
GrantInsertIMIS
GrantReferencesIMIS
GrantSelectIMIS
GrantUpdateIMIS
SQL Script
CREATE TABLE [dbo].[Trans_SoftCredit]
(
[TRANS_NUMBER] [int] NOT NULL CONSTRAINT [DF_Trans_SoftCredit_TRANS_NUMBER] DEFAULT ((0)),
[SOFT_CREDIT_ID] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_Trans_SoftCredit_SOFT_CREDIT_ID] DEFAULT (''),
[PERCENTAGE] [numeric] (15, 2) NOT NULL CONSTRAINT [DF_Trans_SoftCredit_PERCENTAGE] DEFAULT ((0)),
[AMOUNT] [money] NOT NULL CONSTRAINT [DF_Trans_SoftCredit_AMOUNT] DEFAULT ((0)),
[ORIGINATING_ACTIVITY_SEQN] [int] NOT NULL CONSTRAINT [DF_Trans_SoftCredit_ORIGINATING_ACTIVITY_SEQN] DEFAULT ((0)),
[FUNDRAISER_TYPE] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_Trans_SoftCredit_FUNDRAISER_TYPE] DEFAULT (''),
[PRODUCT_CODE] [varchar] (31) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_Trans_SoftCredit_PRODUCT_CODE] DEFAULT (''),
[TIME_STAMP] [timestamp] NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[Trans_SoftCredit] ADD CONSTRAINT [PK_Trans_SoftCredit] PRIMARY KEY CLUSTERED ([TRANS_NUMBER], [SOFT_CREDIT_ID], [ORIGINATING_ACTIVITY_SEQN]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [iTrans_SoftCreditACTIVITY_SEQN] ON [dbo].[Trans_SoftCredit] ([ORIGINATING_ACTIVITY_SEQN]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [iTrans_SoftCreditPRODUCT_CODE] ON [dbo].[Trans_SoftCredit] ([PRODUCT_CODE]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [iTrans_SoftCreditSOFT_CREDIT_I] ON [dbo].[Trans_SoftCredit] ([SOFT_CREDIT_ID]) ON [PRIMARY]
GO
GRANT REFERENCES ON  [dbo].[Trans_SoftCredit] TO [IMIS]
GRANT SELECT ON  [dbo].[Trans_SoftCredit] TO [IMIS]
GRANT INSERT ON  [dbo].[Trans_SoftCredit] TO [IMIS]
GRANT DELETE ON  [dbo].[Trans_SoftCredit] TO [IMIS]
GRANT UPDATE ON  [dbo].[Trans_SoftCredit] TO [IMIS]
GO
Uses
Used By